package csu.web.credit_bank.service;

import csu.web.credit_bank.pojo.LearningProgress;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

public interface LearningProgressService extends IService<LearningProgress> {
    LearningProgress createOrUpdateProgress(LearningProgress progress);
    LearningProgress getProgress(String studentId, String courseId);
    List<LearningProgress> getProgressByStudent(String studentId);
    boolean deleteProgress(String studentId, String courseId);
    void updateProgressAfterResourceView(String studentId, String courseId, String resourceId);
}